Port Foswiki appliance to TurnKey 19 - #9
Open
lirazsiri wants to merge 3 commits into
Open
Conversation
Move the appliance to Debian 13 and the maintained Foswiki 2.1.11 security release. Pin and verify the official release digest, and generate LocalSite.cfg from the current upstream schema so stale configuration does not block the build. Preserve web-server ownership of the firstboot password file, restore documented scheduled maintenance, and add focused acceptance coverage for administrator login, CSRF-protected topic persistence, inherited services, and the supported update channel. Verified in a disposable Trixie environment with the real configure and firstboot paths, Apache HTTPS, administrator authentication, topic create/read persistence, and all three maintenance commands. Static shell, Python, and diff checks also pass.
The v19 build generated a current Foswiki configuration, but that process did not create the password-manager file expected by the firstboot hook. Normal initialization therefore failed before administrator authentication. Install the Debian htpasswd utility explicitly, create the documented admin account from the firstboot password over standard input, and set the password file to the ownership and mode required by the web service. Static shell and Python validation pass; the exact appliance build and login flow remain the acceptance gate.
Replace release-discovery-only updater evidence with a disposable 2.1.10 to 2.1.11 upgrade using Foswiki's published procedure. Verify both official archive digests and reuse the real administrator login and topic flow to prove state survives the upgrade. Open the root-private verified archive in the test shell so Foswiki's documented extraction still runs as the web server user. Verification: bash -n tests/v19.sh; git diff --check; focused private-archive extraction as www-data in tkldev19-dev. Exact run 20260826t042014z-8079-4475 passed build, firstboot, and runtime readiness, then reproduced the corrected archive permission failure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
54ee96520260826t043024z-5565-11697git diff --check origin/master...54ee965